const UserAgents = require("user-agents");

const uaPhone = new UserAgents({ deviceCategory: "mobile" });
const uaAll = new UserAgents({ deviceCategory: "desktop" });

const generateRandomPhoneUa = () => {
  return uaPhone.random().toString();
};

const generateRandomUa = () => {
  return uaAll.random().toString();
};

module.exports = {
  generateRandomPhoneUa,
  generateRandomUa,
};
